<?php /* Smarty version 2.6.19, created on 2012-10-07 22:00:41
         compiled from D:/xampp/htdocs/nghiepquang/templates/eBoxSupportOnline/eBoxSupportOnlineForm.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'D:/xampp/htdocs/nghiepquang/templates/eBoxSupportOnline/eBoxSupportOnlineForm.tpl', 14, false),)), $this); ?>


<?php if ($this->_tpl_vars['OnlineSupport'] || $this->_tpl_vars['is_admin']): ?>
<div class="box" id="eBoxSupportOnline">
<div class="title_sidebar">
    <p>Hỗ trợ trực tuyến </p>
</div>

    <?php if ($this->_tpl_vars['OnlineSupport']): ?>
    <?php $this->assign('k', 1); ?>
    <div class="support-online spo-home">
        <ul>
            <?php $_from = $this->_tpl_vars['OnlineSupport']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['ogroup']):
?>
                <li class="s-g" <?php if (count($this->_tpl_vars['OnlineSupport']) == $this->_tpl_vars['k']++): ?>style="border-bottom:none;"<?php endif; ?>>
                    <div class="s-g-name"><?php echo $this->_tpl_vars['ogroup']['name']; ?>
</div>
                    <ul>
                        <?php $_from = $this->_tpl_vars['ogroup']['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['user']):
?>
                            <li>
                                <?php if (count($this->_tpl_vars['ogroup']['users']) > 1): ?>
                        <span class="s-name">
                            <?php echo $this->_tpl_vars['user']['name']; ?>

                        </span>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['user']['yahoo'] != ''): ?>
                                    <span class="ol_yahoo">
                                    <a href="ymsgr:sendim?<?php echo $this->_tpl_vars['user']['yahoo']; ?>
" title="Chát qua Yahoo với - <?php echo $this->_tpl_vars['user']['yahoo']; ?>
">Gangnam style</a>
                                </span>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['user']['skype'] != ''): ?>
                                    <span class="ol_skype">
                                    <a href="skype:<?php echo $this->_tpl_vars['user']['skype']; ?>
?chat" title="Chát qua skype với - <?php echo $this->_tpl_vars['user']['skype']; ?>
">Gangnam style</a>
                                </span>
                                <?php endif; ?>
                            </li>

                        <?php endforeach; endif; unset($_from); ?>
                    </ul>
                </li>
            <?php endforeach; endif; unset($_from); ?>
        </ul>
    </div>
    <?php endif; ?>
<div align="center">
    <?php if ($this->_tpl_vars['is_admin']): ?>[<a style="color:#fff;"
                      onclick="window.open('<?php echo $this->_tpl_vars['web_dir']; ?>
online_support_edit.html?is_popup=1' ,'','status=1,toolbar=,scrollbars=1,resizable=,width=1000,height=600,top=' + (screen.height -600)/2 +',left=' + (screen.width -1000)/2 +',location =0,menubar =0');">Sửa hỗ trợ online</a>]<?php endif; ?>

</div>
</div>
<?php endif; ?>